package org.zfes.snowier.cloud.zbss.cms.content.model;
import org.zfes.snowier.common.dao.IBaseModel;
public class CmsContentTxt extends IBaseModel{

	private static final long serialVersionUID = 1L;
	
	public CmsContentTxt() {}
	public CmsContentTxt(Long id) {
		this.setId(id);
	}
	public CmsContentTxt(Long contentId, String txt) {
		super();
		this.contentId = contentId;
		this.txt = txt;
	}
	
	public CmsContentTxt(Long contentId, String txt, String txt1, String txt2, String txt3) {
		super();
		this.contentId = contentId;
		this.txt = txt;
		this.txt1 = txt1;
		this.txt2 = txt2;
		this.txt3 = txt3;
	}


	//<-------------------------------------------->
	@javax.validation.constraints.NotNull(message="内容ID不能为空")
	
	  private java.lang.Long contentId;
 
	@javax.validation.constraints.NotNull(message="状态:不能为空")
	
	  private java.lang.Byte status;
 
	@javax.validation.constraints.NotNull(message="更新时间不能为空")
	
	  private java.util.Date updateTime;
 
	@javax.validation.constraints.NotNull(message="创建时间不能为空")
	
	  private java.util.Date createTime;
 
	 @org.hibernate.validator.constraints.Length(min=0,max=2147483647,message="内容长度不能大于2,147,483,647")
	  private java.lang.String txt;
 
	 @org.hibernate.validator.constraints.Length(min=0,max=2147483647,message="扩展内容1长度不能大于2,147,483,647")
	  private java.lang.String txt1;
 
	 @org.hibernate.validator.constraints.Length(min=0,max=2147483647,message="扩展内容2长度不能大于2,147,483,647")
	  private java.lang.String txt2;
 
	 @org.hibernate.validator.constraints.Length(min=0,max=2147483647,message="扩展内容3长度不能大于2,147,483,647")
	  private java.lang.String txt3;
 
	
	//<-------------------------------------------->
	public CmsContentTxt setContentId(java.lang.Long contentId){
	 this.contentId=contentId;
	 return this;
	}
	public java.lang.Long getContentId(){
		return this.contentId;
	}
	public CmsContentTxt setStatus(java.lang.Byte status){
	 this.status=status;
	 return this;
	}
	public java.lang.Byte getStatus(){
		return this.status;
	}
	public CmsContentTxt setUpdateTime(java.util.Date updateTime){
	 this.updateTime=updateTime;
	 return this;
	}
	public java.util.Date getUpdateTime(){
		return this.updateTime;
	}
	public CmsContentTxt setCreateTime(java.util.Date createTime){
	 this.createTime=createTime;
	 return this;
	}
	public java.util.Date getCreateTime(){
		return this.createTime;
	}
	public CmsContentTxt setTxt(java.lang.String txt){
		this.txt=txt==null?null:txt.trim();
	 return this;
	}
	public java.lang.String getTxt(){
		return this.txt;
	}
	public CmsContentTxt setTxt1(java.lang.String txt1){
		this.txt1=txt1==null?null:txt1.trim();
	 return this;
	}
	public java.lang.String getTxt1(){
		return this.txt1;
	}
	public CmsContentTxt setTxt2(java.lang.String txt2){
		this.txt2=txt2==null?null:txt2.trim();
	 return this;
	}
	public java.lang.String getTxt2(){
		return this.txt2;
	}
	public CmsContentTxt setTxt3(java.lang.String txt3){
		this.txt3=txt3==null?null:txt3.trim();
	 return this;
	}
	public java.lang.String getTxt3(){
		return this.txt3;
	}

}
